#ifndef __PLATFORM_WIN32_H__
#define __PLATFORM_WIN32_H__

/************************************************************************/
/* Message ID from WIN32 to Editor                                      */
/************************************************************************/

#define  FORM_MSG_CREATE                       0x0001
#define  FORM_MSG_DESTROY                      0x0002
#define  FORM_MSG_MOVE                         0x0003
#define  FORM_MSG_SIZE                         0x0005

#define  FORM_MSG_ACTIVATE                     0x0006
/*
 *  FORM_MSG_ACTIVATE state values
 */
#define     WA_INACTIVE     0
#define     WA_ACTIVE       1
#define     WA_CLICKACTIVE  2

#define  FORM_MSG_SETFOCUS                     0x0007
#define  FORM_MSG_KILLFOCUS                    0x0008
#define  FORM_MSG_ENABLE                       0x000A
#define  FORM_MSG_SETREDRAW                    0x000B
#define  FORM_MSG_SETTEXT                      0x000C
#define  FORM_MSG_GETTEXT                      0x000D
#define  FORM_MSG_GETTEXTLENGTH                0x000E
#define  FORM_MSG_PAINT                        0x000F
#define  FORM_MSG_CLOSE                        0x0010
#ifndef _WIN32_WCE
#define  FORM_MSG_QUERYENDSESSION              0x0011
#define  FORM_MSG_QUERYOPEN                    0x0013
#define  FORM_MSG_ENDSESSION                   0x0016
#endif
#define  FORM_MSG_QUIT                         0x0012
#define  FORM_MSG_ERASEBKGND                   0x0014
#define  FORM_MSG_SYSCOLORCHANGE               0x0015
#define  FORM_MSG_SHOWWINDOW                   0x0018
#define  FORM_MSG_WININICHANGE                 0x001A
#if(WINVER >= 0x0400)
#define  FORM_MSG_SETTINGCHANGE                 FORM_MSG_WININICHANGE
#endif /* WINVER >= 0x0400 */


#define  FORM_MSG_DEVMODECHANGE                0x001B
#define  FORM_MSG_ACTIVATEAPP                  0x001C
#define  FORM_MSG_FONTCHANGE                   0x001D
#define  FORM_MSG_TIMECHANGE                   0x001E
#define  FORM_MSG_CANCELMODE                   0x001F
#define  FORM_MSG_SETCURSOR                    0x0020
#define  FORM_MSG_MOUSEACTIVATE                0x0021
#define  FORM_MSG_CHILDACTIVATE                0x0022
#define  FORM_MSG_QUEUESYNC                    0x0023

#define  FORM_MSG_GETMINMAXINFO                0x0024
#define  FORM_MSG_KEYDOWN                      0x0100
#define  FORM_MSG_KEYUP                        0x0101
#define  FORM_MSG_CHAR                         0x0102
#define  FORM_MSG_SYSKEYDOWN                   0x0104
#define  FORM_MSG_SYSKEYUP                     0x0105
#define  FORM_MSG_COMMAND                      0x0111
#define  FORM_MSG_MOUSEMOVE                    0x0200
#define  FORM_MSG_LBUTTONDOWN                  0x0201
#define  FORM_MSG_LBUTTONUP                    0x0202
#define  FORM_MSG_LBUTTONDBLCLK                0x0203
#define  FORM_MSG_RBUTTONDOWN                  0x0204
#define  FORM_MSG_RBUTTONUP                    0x0205
#define  FORM_MSG_RBUTTONDBLCLK                0x0206
#define  FORM_MSG_MBUTTONDOWN                  0x0207
#define  FORM_MSG_MBUTTONUP                    0x0208
#define  FORM_MSG_MBUTTONDBLCLK                0x0209
#define  FORM_MSG_MOUSEWHEEL                   0x020A



#endif